﻿using System;

namespace DailyFx.Book
{
	public interface IAffair : IDisposable
	{
		/// <summary>
		///		
		/// </summary>
		bool Opening { get; }


		/// <summary>
		///		Commits this affair.
		/// </summary>
		void Commit ();

		/// <summary>
		///		Rollbacks this affair.
		/// </summary>
		void Rollback ();
	}
}
